<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>社工信息详情</title>
</head>
<body>
<div class="page unitBox">
  <form method="post" action="save_edit_community_socialInfo" class="pageForm required-validate edit_community_socialInfo_form" onsubmit="return validateCallback(this, dialogAjaxDone)" novalidate="novalidate">
    <div class="pageContent">
      <div class="pageFormContent edit-socialInfo-form" layouth="97">
        <dl>
          <dt>小区名称</dt>
          <dd>
            ${socialInfo.blockName}
          </dd>
        </dl>
        <dl>
          <dt>用户账号</dt>
          <dd>
            ${socialInfo.nickname}
          </dd>
        </dl>
        <dl>
          <dt>联系电话</dt>
          <dd>
            ${socialInfo.phone}
          </dd>
        </dl>
        <dl style="height: 100px;">
          <dt>意向</dt>
          <dd>
            <textarea cols="35" rows="5">${socialInfo.intention}</textarea>
          </dd>
        </dl>
        <dl>
          <dt>状态</dt>
          <dd>
            ${socialInfo.statusStr}
          </dd>
        </dl>
        <dl>
          <dt>处理时间</dt>
          <dd>
            <fmt:formatDate value="${socialInfo.dealTime}" pattern="yyyy-MM-dd HH:mm:ss"></fmt:formatDate>
          </dd>
        </dl>
        <dl>
          <dt>创建时间</dt>
          <dd>
            <fmt:formatDate value="${socialInfo.createTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
          </dd>
        </dl>
        <dl style="height: 110px;">
          <dt>用户头像</dt>
          <dd>
            <img src="${socialInfo.icon}" width="120px;" height="80px;"/>
          </dd>
        </dl>
        <c:if test="${!empty remarks}">
          <dl>
            <h2>备注区域</h2>
            <hr>
          </dl>
        </c:if>
        <c:forEach items="${remarks}" var="remark">
          <dl style="height: auto;">
            <dt>${remark.title}</dt>
            <dd>
                <textarea cols="35" rows="5">
                    ${remark.remark}
                </textarea>
            </dd>
          </dl>
        </c:forEach>
      </div>
    </div>
  </form>
</div>
</body>
</html>
